# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class NewInstanceSpec(object):

    def __init__(self, azId, az1flavor, az1replica, az1storagesize, az2flavor, az2replica, az2storagesize, ):
        """
        :param azId:  可用区ID， 如果两个可用区一样，也需输入两个azId
        :param az1flavor:  AZ1实例硬件规格
        :param az1replica:  AZ1节点个数
        :param az1storagesize:  AZ1云硬盘大小
        :param az2flavor:  AZ2实例硬件规格
        :param az2replica:  AZ2节点个数
        :param az2storagesize:  AZ2云硬盘大小
        """

        self.azId = azId
        self.az1flavor = az1flavor
        self.az1replica = az1replica
        self.az1storagesize = az1storagesize
        self.az2flavor = az2flavor
        self.az2replica = az2replica
        self.az2storagesize = az2storagesize
